package com.sunny.ihealth.entity.bmob;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;

/**
 * 用户信息类
 * Created by Sunny  An on 2016/5/13.
 */
public class UserInfo extends BmobObject{

    public static final boolean GENDER_MALE = true;
    public static final boolean GENDER_FEMALE = false;

    private String username;
    private String nickname;
    private String signature;
    /**
     * 男性为 true   女性为 false
     */
    private Boolean gender;
    private BmobFile headFile;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    /**
     *
     * @return 男性为 true   女性为 false
     */
    public Boolean getGender() {
        return gender;
    }

    /**
     *
     * @param gender 男性为 true   女性为 false
     */
    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public BmobFile getHeadFile() {
        return headFile;
    }

    public void setHeadFile(BmobFile headFile) {
        this.headFile = headFile;
    }
}
